package lab02.test10;

public class People {

    //属性：姓名，年龄，国籍
    String name;
    int age;
    String nationnality;

    //行为:吃饭，睡觉
    void eat(){

    }
    void sleep(){

    }
    String getString(){return name+"|"+age+"|"+nationnality;}
    //构造函数
    People(){}
}



